package com.joinus.server.entity;

import java.util.Date;

/**
 * 用户关系<br>
 * @author henrybit
 * @version 1.0
 * @since 2013-4-5
 */
public class UsersRelation {
	/**关系ID*/
	private long id;
	/**用户1ID*/
	private String user1Id;
	/**用户2ID*/
	private String user2Id;
	/**关系状态:1-邀请中,2-好友,3-推荐好友*/
	private int status;
	/**关系程度:1<=>100*/
	private float relationValue;
	/**创建时间:LONG*/
	private long createTimeLong;
	/**创建时间:DATE*/
	private Date createTime;
	/**更新时间:LONG*/
	private long updateTimeLong;
	/**更新时间:DATE*/
	private Date updateTime;
	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}
	/**
	 * @return the user1Id
	 */
	public String getUser1Id() {
		return user1Id;
	}
	/**
	 * @param user1Id the user1Id to set
	 */
	public void setUser1Id(String user1Id) {
		this.user1Id = user1Id;
	}
	/**
	 * @return the user2Id
	 */
	public String getUser2Id() {
		return user2Id;
	}
	/**
	 * @param user2Id the user2Id to set
	 */
	public void setUser2Id(String user2Id) {
		this.user2Id = user2Id;
	}
	/**
	 * @return the status
	 */
	public int getStatus() {
		return status;
	}
	/**
	 * @param status the status to set
	 */
	public void setStatus(int status) {
		this.status = status;
	}
	/**
	 * @return the relationValue
	 */
	public float getRelationValue() {
		return relationValue;
	}
	/**
	 * @param relationValue the relationValue to set
	 */
	public void setRelationValue(float relationValue) {
		this.relationValue = relationValue;
	}
	/**
	 * @return the createTimeLong
	 */
	public long getCreateTimeLong() {
		return createTimeLong;
	}
	/**
	 * @param createTimeLong the createTimeLong to set
	 */
	public void setCreateTimeLong(long createTimeLong) {
		this.createTimeLong = createTimeLong;
	}
	/**
	 * @return the createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * @return the updateTimeLong
	 */
	public long getUpdateTimeLong() {
		return updateTimeLong;
	}
	/**
	 * @param updateTimeLong the updateTimeLong to set
	 */
	public void setUpdateTimeLong(long updateTimeLong) {
		this.updateTimeLong = updateTimeLong;
	}
	/**
	 * @return the updateTime
	 */
	public Date getUpdateTime() {
		return updateTime;
	}
	/**
	 * @param updateTime the updateTime to set
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
